Make focus rectangles optional
authorMatthias Clasen <mclasen@redhat.com>
Wed, 10 Aug 2011 14:00:38 +0000 (16:00 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 10 Aug 2011 14:34:20 +0000 (16:34 +0200)
commit2ba9c4b4a7d9ffc3161e2db1774743182a365d99
tree71eafdf29308d8cf5b2adba4df97461ee9b5568a
parent6596dbff312ecdc65681c37f3de21217d7731388
Make focus rectangles optional

This commit introduces a new setting, gtk-visible-focus, backed
by the Gtk/VisibleFocus X setting. Its three values control how
focus rectangles are displayed.

'always' is equivalent to the traditional GTK+ behaviour of always
rendering focus rectangles.

'never' does what it says, and is intended for keyboardless
situations, e.g. tablets.

'automatic' hides focus rectangles initially, until the user
interacts with the keyboard, at which point focus rectangles
become visible.

https://bugzilla.gnome.org/show_bug.cgi?id=649567
25 files changed:
docs/reference/gtk/gtk3-sections.txt
gdk/x11/gdksettings.c
gtk/gtk.symbols
gtk/gtkbutton.c
gtk/gtkcalendar.c
gtk/gtkcellarea.c
gtk/gtkcheckbutton.c
gtk/gtkcolorsel.c
gtk/gtkentry.c
gtk/gtkexpander.c
gtk/gtkhsv.c
gtk/gtkiconview.c
gtk/gtklabel.c
gtk/gtkmain.c
gtk/gtknotebook.c
gtk/gtkrange.c
gtk/gtksettings.c
gtk/gtkswitch.c
gtk/gtktextview.c
gtk/gtktrayicon-x11.c
gtk/gtktreeview.c
gtk/gtkwidget.c
gtk/gtkwidget.h
gtk/gtkwindow.c
gtk/gtkwindow.h